package com.api.shopapi.service;

import com.api.shopapi.entity.MedicationItem;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface MedicationItemService {

    int insert(MedicationItem medicationItem);

    int updateByMedicationItemCode(MedicationItem medicationItem);

    int delByMedicationGroupCode(String medicationGroupCode);

    List<MedicationItem> getByMedicationGroupCode(String medicationGroupCode);
}
